package com.honey.standard.writer.io;

import java.io.File;

/**
 * 验证文件存储,文件验证通过覆盖文件,如果验证失败跳过生成,建议使用该方式 .
 * @author Administrator
 *
 */
class CheckingStorage extends Storage {

	public CheckingStorage(File source, boolean checked) {
		super(source, checked);
	}

	public CheckingStorage(File source, String charset, boolean checked) {
		super(source, charset, checked);
	}
	
	public CheckingStorage(String source, String charset, boolean checked) {
		super(source, charset, checked);
	}

	@Override
	public boolean supportWrite() {
		return checked;
	}

}
